<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-CPP: TValue类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-CPP
   </div>
   <div id="projectbrief">AWTK CPP API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_t_value-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">TValue类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1c01bf3519ae282c52a5c677ab22ae32"><td class="memItemLeft" align="right" valign="top"><a id="a1c01bf3519ae282c52a5c677ab22ae32"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TValue</b> (value_t *nativeObj)</td></tr>
<tr class="separator:a1c01bf3519ae282c52a5c677ab22ae32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae99b632b6ab79d5b438645209ff1b6fc"><td class="memItemLeft" align="right" valign="top"><a id="ae99b632b6ab79d5b438645209ff1b6fc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TValue</b> (const value_t *nativeObj)</td></tr>
<tr class="separator:ae99b632b6ab79d5b438645209ff1b6fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15f32c1f3ade430b654fe7029bb4d01e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a15f32c1f3ade430b654fe7029bb4d01e">SetBool</a> (bool value)</td></tr>
<tr class="separator:a15f32c1f3ade430b654fe7029bb4d01e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8e0ac0dafe17c443e831c62a80895f1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#ac8e0ac0dafe17c443e831c62a80895f1">Bool</a> ()</td></tr>
<tr class="separator:ac8e0ac0dafe17c443e831c62a80895f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a005be16ac1a01d31d2f7770815d0df08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a005be16ac1a01d31d2f7770815d0df08">SetInt8</a> (int8_t value)</td></tr>
<tr class="separator:a005be16ac1a01d31d2f7770815d0df08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a866e58da47c0138efe49cd29712643a1"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a866e58da47c0138efe49cd29712643a1">Int8</a> ()</td></tr>
<tr class="separator:a866e58da47c0138efe49cd29712643a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab909d172aee3452c2306c443250b82f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#ab909d172aee3452c2306c443250b82f1">SetUint8</a> (uint8_t value)</td></tr>
<tr class="separator:ab909d172aee3452c2306c443250b82f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecbf061b25133511984f98ab969dabbc"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#aecbf061b25133511984f98ab969dabbc">Uint8</a> ()</td></tr>
<tr class="separator:aecbf061b25133511984f98ab969dabbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a648ceaa7e3ca044222061ebdaa858627"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a648ceaa7e3ca044222061ebdaa858627">SetInt16</a> (int16_t value)</td></tr>
<tr class="separator:a648ceaa7e3ca044222061ebdaa858627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab971188c184ad614996fd1aadb9c3e26"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#ab971188c184ad614996fd1aadb9c3e26">Int16</a> ()</td></tr>
<tr class="separator:ab971188c184ad614996fd1aadb9c3e26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9481b7d594b1b6dcaa0586b760400f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#af9481b7d594b1b6dcaa0586b760400f6">SetUint16</a> (uint16_t value)</td></tr>
<tr class="separator:af9481b7d594b1b6dcaa0586b760400f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad21fa569f0fde85c40364c4ffef3c67"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#aad21fa569f0fde85c40364c4ffef3c67">Uint16</a> ()</td></tr>
<tr class="separator:aad21fa569f0fde85c40364c4ffef3c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b5a2303d4dd1ca5f4f574ca8b8a5353"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a4b5a2303d4dd1ca5f4f574ca8b8a5353">SetInt32</a> (int32_t value)</td></tr>
<tr class="separator:a4b5a2303d4dd1ca5f4f574ca8b8a5353"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb8cf205643679d291f7ed893f22d5b3"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#abb8cf205643679d291f7ed893f22d5b3">Int32</a> ()</td></tr>
<tr class="separator:abb8cf205643679d291f7ed893f22d5b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8735c63a64e73852442146adf88438f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a8735c63a64e73852442146adf88438f8">SetUint32</a> (uint32_t value)</td></tr>
<tr class="separator:a8735c63a64e73852442146adf88438f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a962bd2b4665973e2099a187f4600c1be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a962bd2b4665973e2099a187f4600c1be">SetInt64</a> (int64_t value)</td></tr>
<tr class="separator:a962bd2b4665973e2099a187f4600c1be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a923d9ed2652981d9b1090d34a3c60f1e"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a923d9ed2652981d9b1090d34a3c60f1e">Int64</a> ()</td></tr>
<tr class="separator:a923d9ed2652981d9b1090d34a3c60f1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bd4e4da66b2b9bf0faadfccfda42864"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a2bd4e4da66b2b9bf0faadfccfda42864">SetUint64</a> (uint64_t value)</td></tr>
<tr class="separator:a2bd4e4da66b2b9bf0faadfccfda42864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419cb0d54b34b626a141ead20acadd40"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a419cb0d54b34b626a141ead20acadd40">Uint64</a> ()</td></tr>
<tr class="separator:a419cb0d54b34b626a141ead20acadd40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2a9a5cc18dde1df46719a1af0c47953"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#ab2a9a5cc18dde1df46719a1af0c47953">SetFloat</a> (float_t value)</td></tr>
<tr class="separator:ab2a9a5cc18dde1df46719a1af0c47953"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bb1a3fa57deb2158b407be2c95e8a63"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a7bb1a3fa57deb2158b407be2c95e8a63">Float32</a> ()</td></tr>
<tr class="separator:a7bb1a3fa57deb2158b407be2c95e8a63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adde9e7fcccc296a78aa7b54c8112f6b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#adde9e7fcccc296a78aa7b54c8112f6b9">SetFloat64</a> (double value)</td></tr>
<tr class="separator:adde9e7fcccc296a78aa7b54c8112f6b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e6a08a868d8966fcb984c30b52465a1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a0e6a08a868d8966fcb984c30b52465a1">Float64</a> ()</td></tr>
<tr class="separator:a0e6a08a868d8966fcb984c30b52465a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbcee6429e8ec0a2346926bef1edac0d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#acbcee6429e8ec0a2346926bef1edac0d">SetStr</a> (const char *value)</td></tr>
<tr class="separator:acbcee6429e8ec0a2346926bef1edac0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03365d89e6a44ab5a69978ea5a0bdaf5"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a03365d89e6a44ab5a69978ea5a0bdaf5">Str</a> ()</td></tr>
<tr class="separator:a03365d89e6a44ab5a69978ea5a0bdaf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ad123f1960740a14830365970fd2316"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a4ad123f1960740a14830365970fd2316">StrEx</a> (char *buff, uint32_t size)</td></tr>
<tr class="separator:a4ad123f1960740a14830365970fd2316"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cc6c9f56e29742e5e4400a4dae74739"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a4cc6c9f56e29742e5e4400a4dae74739">IsNull</a> ()</td></tr>
<tr class="separator:a4cc6c9f56e29742e5e4400a4dae74739"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f0e72a1e474ecd8a4a2e76a87a2b52f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a9f0e72a1e474ecd8a4a2e76a87a2b52f">SetInt</a> (int32_t value)</td></tr>
<tr class="separator:a9f0e72a1e474ecd8a4a2e76a87a2b52f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c810c31322d33d3ab3eaed7eb1708b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a7c810c31322d33d3ab3eaed7eb1708b6">SetObject</a> (<a class="el" href="class_t_object.html">TObject</a> &amp;value)</td></tr>
<tr class="separator:a7c810c31322d33d3ab3eaed7eb1708b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed54bdcfa9413fc02e04331ef09cc4b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_object.html">TObject</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#aed54bdcfa9413fc02e04331ef09cc4b4">Object</a> ()</td></tr>
<tr class="separator:aed54bdcfa9413fc02e04331ef09cc4b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aee983d29b2ff7ce9e396ec1058a81b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a8aee983d29b2ff7ce9e396ec1058a81b">SetToken</a> (uint32_t value)</td></tr>
<tr class="separator:a8aee983d29b2ff7ce9e396ec1058a81b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20ef94873870ee699d917bfb65aee583"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a20ef94873870ee699d917bfb65aee583">Token</a> ()</td></tr>
<tr class="separator:a20ef94873870ee699d917bfb65aee583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a739692654dd9c682bee44c70f6609cc3"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a739692654dd9c682bee44c70f6609cc3">Destroy</a> ()</td></tr>
<tr class="separator:a739692654dd9c682bee44c70f6609cc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eb43bd88605d89fba08abe75a8abc59"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a8eb43bd88605d89fba08abe75a8abc59">Reset</a> ()</td></tr>
<tr class="separator:a8eb43bd88605d89fba08abe75a8abc59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45d7ca7cf9040e4df3debbb5f437f5ff"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a45d7ca7cf9040e4df3debbb5f437f5ff">Id</a> ()</td></tr>
<tr class="separator:a45d7ca7cf9040e4df3debbb5f437f5ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f9f5c0a3563c664b2a0bea2181485e5"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a2f9f5c0a3563c664b2a0bea2181485e5">Func</a> ()</td></tr>
<tr class="separator:a2f9f5c0a3563c664b2a0bea2181485e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c75b19a9eeabe7d1c3a631b8a13e19a"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#a0c75b19a9eeabe7d1c3a631b8a13e19a">FuncDef</a> ()</td></tr>
<tr class="separator:a0c75b19a9eeabe7d1c3a631b8a13e19a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd8ad701cc4a2a557c9fa40f2719606c"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#abd8ad701cc4a2a557c9fa40f2719606c">Bitmap</a> ()</td></tr>
<tr class="separator:abd8ad701cc4a2a557c9fa40f2719606c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0699c0296d3a2429482a0d2cb2d46b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_rect.html">TRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#af0699c0296d3a2429482a0d2cb2d46b1">Rect</a> ()</td></tr>
<tr class="separator:af0699c0296d3a2429482a0d2cb2d46b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a878db8bdfe5c99dde6379a2f362f6cd1"><td class="memItemLeft" align="right" valign="top"><a id="a878db8bdfe5c99dde6379a2f362f6cd1"></a>
static <a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (value_t *nativeObj)</td></tr>
<tr class="separator:a878db8bdfe5c99dde6379a2f362f6cd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bfd4da446310a58010e350a1cea7e61"><td class="memItemLeft" align="right" valign="top"><a id="a2bfd4da446310a58010e350a1cea7e61"></a>
static <a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const value_t *nativeObj)</td></tr>
<tr class="separator:a2bfd4da446310a58010e350a1cea7e61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd71593dbaeca48992b4d49a2fb1a907"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_value.html#afd71593dbaeca48992b4d49a2fb1a907">Create</a> ()</td></tr>
<tr class="separator:afd71593dbaeca48992b4d49a2fb1a907"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a5860c0d61938151663b0fa5ba04fab3f"><td class="memItemLeft" align="right" valign="top"><a id="a5860c0d61938151663b0fa5ba04fab3f"></a>
value_t *&#160;</td><td class="memItemRight" valign="bottom"><b>nativeObj</b></td></tr>
<tr class="separator:a5860c0d61938151663b0fa5ba04fab3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>一个通用数据类型，用来存放整数、浮点数、字符串和其它对象。</p>
<p>在C/C++中，一般不需动态创建对象，直接声明并初始化即可。如：</p>
<blockquote class="doxtable">
<p>在脚本语言中，需要动态创建对象。 </p>
</blockquote>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="abd8ad701cc4a2a557c9fa40f2719606c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd8ad701cc4a2a557c9fa40f2719606c">&#9670;&nbsp;</a></span>Bitmap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void * TValue::Bitmap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为位图对象。</p>
<dl class="section return"><dt>返回</dt><dd>位图对象。 </dd></dl>

</div>
</div>
<a id="ac8e0ac0dafe17c443e831c62a80895f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8e0ac0dafe17c443e831c62a80895f1">&#9670;&nbsp;</a></span>Bool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TValue::Bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为bool的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="afd71593dbaeca48992b4d49a2fb1a907"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd71593dbaeca48992b4d49a2fb1a907">&#9670;&nbsp;</a></span>Create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::Create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建value对象。</p>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a739692654dd9c682bee44c70f6609cc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a739692654dd9c682bee44c70f6609cc3">&#9670;&nbsp;</a></span>Destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TValue::Destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>销毁value对象。</p>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a7bb1a3fa57deb2158b407be2c95e8a63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bb1a3fa57deb2158b407be2c95e8a63">&#9670;&nbsp;</a></span>Float32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float TValue::Float32 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为float的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a0e6a08a868d8966fcb984c30b52465a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e6a08a868d8966fcb984c30b52465a1">&#9670;&nbsp;</a></span>Float64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double TValue::Float64 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为double的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a2f9f5c0a3563c664b2a0bea2181485e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f9f5c0a3563c664b2a0bea2181485e5">&#9670;&nbsp;</a></span>Func()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void * TValue::Func </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为func的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a0c75b19a9eeabe7d1c3a631b8a13e19a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c75b19a9eeabe7d1c3a631b8a13e19a">&#9670;&nbsp;</a></span>FuncDef()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void * TValue::FuncDef </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为func_def的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a45d7ca7cf9040e4df3debbb5f437f5ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45d7ca7cf9040e4df3debbb5f437f5ff">&#9670;&nbsp;</a></span>Id()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * TValue::Id </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为ID的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="ab971188c184ad614996fd1aadb9c3e26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab971188c184ad614996fd1aadb9c3e26">&#9670;&nbsp;</a></span>Int16()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t TValue::Int16 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为int16的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="abb8cf205643679d291f7ed893f22d5b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb8cf205643679d291f7ed893f22d5b3">&#9670;&nbsp;</a></span>Int32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t TValue::Int32 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为int32的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a923d9ed2652981d9b1090d34a3c60f1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a923d9ed2652981d9b1090d34a3c60f1e">&#9670;&nbsp;</a></span>Int64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t TValue::Int64 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为int64的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a866e58da47c0138efe49cd29712643a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a866e58da47c0138efe49cd29712643a1">&#9670;&nbsp;</a></span>Int8()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int8_t TValue::Int8 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为int8的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a4cc6c9f56e29742e5e4400a4dae74739"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cc6c9f56e29742e5e4400a4dae74739">&#9670;&nbsp;</a></span>IsNull()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TValue::IsNull </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>判断value是否为空值。</p>
<dl class="section return"><dt>返回</dt><dd>为空值返回TRUE，否则返回FALSE。 </dd></dl>

</div>
</div>
<a id="aed54bdcfa9413fc02e04331ef09cc4b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed54bdcfa9413fc02e04331ef09cc4b4">&#9670;&nbsp;</a></span>Object()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_object.html">TObject</a> TValue::Object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>转换为object的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="af0699c0296d3a2429482a0d2cb2d46b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0699c0296d3a2429482a0d2cb2d46b1">&#9670;&nbsp;</a></span>Rect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_rect.html">TRect</a> TValue::Rect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为矩形区域数据。</p>
<dl class="section return"><dt>返回</dt><dd>返回矩形区域数据。 </dd></dl>

</div>
</div>
<a id="a8eb43bd88605d89fba08abe75a8abc59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8eb43bd88605d89fba08abe75a8abc59">&#9670;&nbsp;</a></span>Reset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TValue::Reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>重置value对象。</p>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a15f32c1f3ade430b654fe7029bb4d01e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15f32c1f3ade430b654fe7029bb4d01e">&#9670;&nbsp;</a></span>SetBool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetBool </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为bool的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="ab2a9a5cc18dde1df46719a1af0c47953"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2a9a5cc18dde1df46719a1af0c47953">&#9670;&nbsp;</a></span>SetFloat()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetFloat </td>
          <td>(</td>
          <td class="paramtype">float_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为float_t的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="adde9e7fcccc296a78aa7b54c8112f6b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adde9e7fcccc296a78aa7b54c8112f6b9">&#9670;&nbsp;</a></span>SetFloat64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetFloat64 </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为double的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a9f0e72a1e474ecd8a4a2e76a87a2b52f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f0e72a1e474ecd8a4a2e76a87a2b52f">&#9670;&nbsp;</a></span>SetInt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetInt </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为int的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a648ceaa7e3ca044222061ebdaa858627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a648ceaa7e3ca044222061ebdaa858627">&#9670;&nbsp;</a></span>SetInt16()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetInt16 </td>
          <td>(</td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为int16的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a4b5a2303d4dd1ca5f4f574ca8b8a5353"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b5a2303d4dd1ca5f4f574ca8b8a5353">&#9670;&nbsp;</a></span>SetInt32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetInt32 </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为int32的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a962bd2b4665973e2099a187f4600c1be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a962bd2b4665973e2099a187f4600c1be">&#9670;&nbsp;</a></span>SetInt64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetInt64 </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为int64的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a005be16ac1a01d31d2f7770815d0df08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a005be16ac1a01d31d2f7770815d0df08">&#9670;&nbsp;</a></span>SetInt8()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetInt8 </td>
          <td>(</td>
          <td class="paramtype">int8_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为int8的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a7c810c31322d33d3ab3eaed7eb1708b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c810c31322d33d3ab3eaed7eb1708b6">&#9670;&nbsp;</a></span>SetObject()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_object.html">TObject</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为object的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="acbcee6429e8ec0a2346926bef1edac0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbcee6429e8ec0a2346926bef1edac0d">&#9670;&nbsp;</a></span>SetStr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetStr </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为字符串的值(并拷贝字符串)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a8aee983d29b2ff7ce9e396ec1058a81b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8aee983d29b2ff7ce9e396ec1058a81b">&#9670;&nbsp;</a></span>SetToken()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetToken </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为token的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="af9481b7d594b1b6dcaa0586b760400f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9481b7d594b1b6dcaa0586b760400f6">&#9670;&nbsp;</a></span>SetUint16()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetUint16 </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为uint16的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a8735c63a64e73852442146adf88438f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8735c63a64e73852442146adf88438f8">&#9670;&nbsp;</a></span>SetUint32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetUint32 </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为uint32的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a2bd4e4da66b2b9bf0faadfccfda42864"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bd4e4da66b2b9bf0faadfccfda42864">&#9670;&nbsp;</a></span>SetUint64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetUint64 </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为uint64的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="ab909d172aee3452c2306c443250b82f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab909d172aee3452c2306c443250b82f1">&#9670;&nbsp;</a></span>SetUint8()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_value.html">TValue</a> TValue::SetUint8 </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置类型为uint8的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a03365d89e6a44ab5a69978ea5a0bdaf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03365d89e6a44ab5a69978ea5a0bdaf5">&#9670;&nbsp;</a></span>Str()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * TValue::Str </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为字符串的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a4ad123f1960740a14830365970fd2316"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ad123f1960740a14830365970fd2316">&#9670;&nbsp;</a></span>StrEx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * TValue::StrEx </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为字符串的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">buff</td><td>用于格式转换的缓冲区（如果 v 对象为 string 类型的话，不会把字符串数据拷贝到 buff 中）。 </td></tr>
    <tr><td class="paramname">size</td><td>缓冲区大小。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a20ef94873870ee699d917bfb65aee583"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20ef94873870ee699d917bfb65aee583">&#9670;&nbsp;</a></span>Token()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t TValue::Token </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取token的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="aad21fa569f0fde85c40364c4ffef3c67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad21fa569f0fde85c40364c4ffef3c67">&#9670;&nbsp;</a></span>Uint16()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t TValue::Uint16 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为uint16的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a419cb0d54b34b626a141ead20acadd40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a419cb0d54b34b626a141ead20acadd40">&#9670;&nbsp;</a></span>Uint64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t TValue::Uint64 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为uint64的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="aecbf061b25133511984f98ab969dabbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecbf061b25133511984f98ab969dabbc">&#9670;&nbsp;</a></span>Uint8()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t TValue::Uint8 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取类型为uint8的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a></li>
<li>output/awtk_cpp.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
